package com.xpu.cos.service;

import com.xpu.cos.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xpu.cos.result.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ambitionjh
 * @since 2024-01-02
 */
public interface OrderService extends IService<Orders> {
    //添加订单
    public Result addOrder(Orders order);
    //取消订单
    public Result deleteOrder(Integer orderId);
    //查询用户所有订单
    public Result getAllOrder(Integer userId);

}
